package com.sanrenzu.chunbo.base;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

/**
 * Created by My on 2016/8/31.
 */
public abstract class IBaseActivity extends AppCompatActivity{
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(setContentViewId());
        initView();
    }

    public abstract void initView();

    public abstract int setContentViewId();
    
}
